<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__syspm__btss__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__syspm.html">SysPm        (System Power Management)</a> &raquo; <a class="el" href="group__group__syspm__btss.html">BTSS Host API(Bluetooth Sub System Host API)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga41fef448fc10ec5a4590fea8f4842e13"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__syspm__btss__functions.html#ga41fef448fc10ec5a4590fea8f4842e13">Cy_BTSS_GetXtalOscFreq</a> (void)</td></tr>
<tr class="memdesc:ga41fef448fc10ec5a4590fea8f4842e13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Crystal Oscillator Frequency(Hz) generated by Radio Hard IP.  <a href="#ga41fef448fc10ec5a4590fea8f4842e13">More...</a><br /></td></tr>
<tr class="separator:ga41fef448fc10ec5a4590fea8f4842e13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a3377532505060f34dcf05f79b08815"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__syspm__btss__returns.html#ga96cb472b4d8371e7e0df518aab8b84bb">cy_en_btss_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__syspm__btss__functions.html#ga1a3377532505060f34dcf05f79b08815">Cy_BTSS_PowerDep</a> (bool enable)</td></tr>
<tr class="memdesc:ga1a3377532505060f34dcf05f79b08815"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable/Disable the Power dependency of BTSS on CPUSS.  <a href="#ga1a3377532505060f34dcf05f79b08815">More...</a><br /></td></tr>
<tr class="separator:ga1a3377532505060f34dcf05f79b08815"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac8f9aaf22bd456c5a8651a30c7df981e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__syspm__btss__returns.html#ga96cb472b4d8371e7e0df518aab8b84bb">cy_en_btss_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__syspm__btss__functions.html#gac8f9aaf22bd456c5a8651a30c7df981e">Cy_BTSS_CPUSSPowerDep</a> (bool enable)</td></tr>
<tr class="memdesc:gac8f9aaf22bd456c5a8651a30c7df981e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable/Disable the Power dependency of CPUSS on BTSS.  <a href="#gac8f9aaf22bd456c5a8651a30c7df981e">More...</a><br /></td></tr>
<tr class="separator:gac8f9aaf22bd456c5a8651a30c7df981e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5580a2adbb633e57a1b2982f49eaea7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__syspm__btss__functions.html#ga5580a2adbb633e57a1b2982f49eaea7b">Cy_BTSS_PowerDepResetCount</a> (void)</td></tr>
<tr class="memdesc:ga5580a2adbb633e57a1b2982f49eaea7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset Power dependency use count.  <a href="#ga5580a2adbb633e57a1b2982f49eaea7b">More...</a><br /></td></tr>
<tr class="separator:ga5580a2adbb633e57a1b2982f49eaea7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c335b956a1ec7f833ed7bbffd2cdb48"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__syspm__btss__functions.html#ga5c335b956a1ec7f833ed7bbffd2cdb48">Cy_BTSS_AssertReset</a> (bool assertEn)</td></tr>
<tr class="memdesc:ga5c335b956a1ec7f833ed7bbffd2cdb48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Asserts/De-Asserts Reset of BTSS IP.  <a href="#ga5c335b956a1ec7f833ed7bbffd2cdb48">More...</a><br /></td></tr>
<tr class="separator:ga5c335b956a1ec7f833ed7bbffd2cdb48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeba4013320dd39c61dd12c1b21b4d0cd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__syspm__btss__functions.html#gaeba4013320dd39c61dd12c1b21b4d0cd">Cy_BTSS_IsResetAsserted</a> (void)</td></tr>
<tr class="memdesc:gaeba4013320dd39c61dd12c1b21b4d0cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if BTSS IP Reset is Asserted or not.  <a href="#gaeba4013320dd39c61dd12c1b21b4d0cd">More...</a><br /></td></tr>
<tr class="separator:gaeba4013320dd39c61dd12c1b21b4d0cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga41fef448fc10ec5a4590fea8f4842e13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga41fef448fc10ec5a4590fea8f4842e13">&#9670;&nbsp;</a></span>Cy_BTSS_GetXtalOscFreq()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_BTSS_GetXtalOscFreq </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the Crystal Oscillator Frequency(Hz) generated by Radio Hard IP. </p>
<dl class="section return"><dt>Returns</dt><dd>Frequency(Hz) of Crystal Oscillator generated by Radio Hard IP </dd></dl>

</div>
</div>
<a id="ga1a3377532505060f34dcf05f79b08815"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1a3377532505060f34dcf05f79b08815">&#9670;&nbsp;</a></span>Cy_BTSS_PowerDep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__syspm__btss__returns.html#ga96cb472b4d8371e7e0df518aab8b84bb">cy_en_btss_status_t</a> Cy_BTSS_PowerDep </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable/Disable the Power dependency of BTSS on CPUSS. </p>
<p>If enabled, BTSS will wake up and will be ON as long as CPUSS is ON.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>TRUE-Enable, FASLE-Disable</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__syspm__btss__returns.html#ga96cb472b4d8371e7e0df518aab8b84bb">cy_en_btss_status_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API needs to be used to wake and keep the BTSS ON , while CPUSS is ON. </dd></dl>

</div>
</div>
<a id="gac8f9aaf22bd456c5a8651a30c7df981e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac8f9aaf22bd456c5a8651a30c7df981e">&#9670;&nbsp;</a></span>Cy_BTSS_CPUSSPowerDep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__syspm__btss__returns.html#ga96cb472b4d8371e7e0df518aab8b84bb">cy_en_btss_status_t</a> Cy_BTSS_CPUSSPowerDep </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable/Disable the Power dependency of CPUSS on BTSS. </p>
<p>If enabled, CPUSS will be ON as long as BTSS is ON.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>TRUE-Enable, FASLE-Disable</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__syspm__btss__returns.html#ga96cb472b4d8371e7e0df518aab8b84bb">cy_en_btss_status_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API needs to be used if we need to keep the CPUSS ON , while BTSS is ON. </dd></dl>

</div>
</div>
<a id="ga5580a2adbb633e57a1b2982f49eaea7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5580a2adbb633e57a1b2982f49eaea7b">&#9670;&nbsp;</a></span>Cy_BTSS_PowerDepResetCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_BTSS_PowerDepResetCount </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset Power dependency use count. </p>
<dl class="section note"><dt>Note</dt><dd>This API can be used to reset use count to Zero when BT Reset happens. </dd></dl>

</div>
</div>
<a id="ga5c335b956a1ec7f833ed7bbffd2cdb48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5c335b956a1ec7f833ed7bbffd2cdb48">&#9670;&nbsp;</a></span>Cy_BTSS_AssertReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_BTSS_AssertReset </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>assertEn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Asserts/De-Asserts Reset of BTSS IP. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">assertEn</td><td>TRUE-Enable, FALSE-Disable </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaeba4013320dd39c61dd12c1b21b4d0cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeba4013320dd39c61dd12c1b21b4d0cd">&#9670;&nbsp;</a></span>Cy_BTSS_IsResetAsserted()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Cy_BTSS_IsResetAsserted </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if BTSS IP Reset is Asserted or not. </p>
<dl class="section return"><dt>Returns</dt><dd>TRUE- if Assert Enabled, FALSE- if Assert Disabled. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
